Click link within panel then click Back Button back to the active panel?

Click link within panel then click Back Button back to the active panel?

I am using the accordion widget.  I have some hyperlinks on each panels. For example, when click on a hyperlink within the panel 2, it goes to its page.  when click the Back browser button, I want it goes back to the active panel which is open, but it always goes to the 1st panel.   Sometime it works on panel 2, sometime do not.  Also, it works on Firefox only not other web browsers.  Can any one guide me how to solve the problem?