Bug 835152 - [Browser] Show the address bar whenever the user scrolls up

add scroll threshold to detect scroll up/down conditions in current branch