Swipe and visibility check issue

Add a proper swipe gesture when using ViewPager and add a workaround for a view visibility issue