added potential support for IE10 and Windows Phone swipes