text: Title: Back navigation does not work properly in HTML outputs (log, report, Libdoc)
  Body: We are just Upgrading from 3.x to 6.0.2.
  
  Getting back to report.html from log.html requires 3 clicks on Back button. This is quite irritating.
  
  Steps to reproduce:
  1) from testreport.html, open a testcase. This takes to log.html, url ends like "log.html#s1-s2-s29-t6".
  2) click Back. Still in log.html. url ends like "log.html#"
  3) click Back. Still in log.html. url ends like "log.html#s1-s2-s29-t6"
  4) click Back. Only now,, we are back in report.html
  
  