modify the record view, delete the back button and substituted it with the swipe gesture.