Enabled back button. Added swipe left and right functionality