removed unneeded scripts, fixed swipe bugs