You can get hash from url and toggle slide by using that like;
$(document).ready(function() {
var hash = window.location.hash;// Returns e.g. "#p_9"
$(hash).slideToggle();
});
Here is jsfiddle for code part, and here is jsfiddle demo(Press ctrl+f5 when you goto demo page in order to see it is working).