Implemented the back feature