Making a HTML5 Slideshow (canvas) with own animated transitioning effect.