Added listener to change tabs when user swipes left/right on home.