Requested animation frame should be cancelled

The problem is described is #237.

Details: pane animation is behind content animation by 1 step.
That's because you just do nothing if there is planned animation frame. But it was planned step before, so you get wrong animation.