Ken Burns effect – canvas 2D implementation