Swipe/tab functionality added