Switched to hammer and jquery.