added slider collision logic and game over