Fixing bug scrolling in IE and firefox and adding check to prevent ajax request when using forward/back on to entry result page