updating scrollTop height for Firefox