Fixed swipe plugin and cleaned up lint issues