trying to fix slide stalling