<script>
var hash = location.hash.substr(1),
input = document.getElementById(hash);
if (input && input.name == "accordion-1") {
input.checked = true;
}
</script>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
$(function(){
$(location.hash).click();
$(window).hashchange(function(){
$(location.hash).click();
});
});