implemented swipe and tab navigation on the homeActivity