resetting animation flag on touch scroll bug