Retain active Tab after page load

Retain active Tab after page load

I"m trying to retain an active tab after the page is loaded. I'm open to options either by saving the state or by querystring. whichever is easier to implement. Here is the working fiddle 



Please advise

Thanks