Back button override
From http://stackoverflow.com/questions/6359327/detect-back-button-click-in-browser