Support for touch events + fixed issue with IE9+ compatibility