Updated back functionality to work everywhere
Removed unused code
Updated code view
Merge pull request #819 from Bars107/sherpafy

Updated back functionality.