Formatted code to be more readable, created home screen view and simplified sliding