Show / Hide problem with Comments form

Show / Hide problem with Comments form

I have been developing a WordPress theme (Nerd)Press but struggling with final stumbling block to get it finished

the latest version can be found here...
http://dev.nerdpress.co.uk

On a single post page for example this one... http://dev.nerdpress.co.uk/?p=16
if you scroll down to the bottom you will see the 'show/hide comments' link. By default they are hidden but my problem is that after a user clicks to show the comments/comment form and submits a post, the page refreshes and the jQuery I have in the header automatically hides the comments again and the anchor which appears in the URL (eg. #comment-1) doesnt work.

I would like it to somehow work out when a post has been made and if so (ie if there is an anchor there) show the comments/comment form.

I hope this makes sense :S

My jQuery code is as follows....

<script type="text/javascript">
   $(document).ready(function() {
      $('#showcomments').click(function() {
         $(".comments-slider").slideToggle("fast");
      });
      $('#leaveresponse').click(function() {
         $(".comments-slider").show("fast");
      });
   });                      
</script>


Can this be possible and if so how?

any help would be very much appreciated, i am fairly new to jQuery but really want to have this feature included in my Theme.

Thanks
Stu Greenham