Resetting timeline while animating a window causes some visual "glitches",
see videos below. Even though we can't use QTimer::toggleDirection,
that's safe to delete code which resets timeline because prePaintScreen
figures out correct direction of the timeline.
Before
After