Removed unnecessary code and added next and previous links
Resolved Merge Conflicts