In short, it's not possible – simply because there is no reliable way to store and fetch data temporarily whenever the back button is clicked, because on most browsers both cookies and web storage information is re-set on clicking the back button. So there is no way to memorize and re-set the values, and even if there was, most browser does not re-run the scripts after the back-button event, and it would be impossible to re-store the states.
Some simple forms are memorized automatically by webkit browsers, but it's usually only true for form submittions, not redirections. I wish there was a reliable way to get around this.Best,
If you like my products, don't forget to rate them on codecanyon :)