refractored home screen for swipe, and added toggle in settings