started using hammerJS for swiping, its way better