Handle touch events for the slide menu