Fix double slide animation triggering bug.