This Fixes #973 firefox search scrolling

Now it works in firefox also. I have tested in mac,ubuntu in both firefox and chrome.
@gordonwoodhull :Its fixed and ready for your review.
@gordonwoodhull  I had done all this adjustments after testing in mac and ubuntu for firefox and chrome with various conditions.This is for when we open up all the panels in some cases the pager was overlapping on the help  panel header. I can check again.