Web Browser history navigation fix