Make slideshow work with newer version of Hammer, use wrapper element, prevent events from bubbling