Bug 1043884 - Fix contacts scrollbar overlay shows empty content when click

Perhaps it would be nicer to have `clearOverlay`outside of `scrollEnd`, and taking two parameters for `transitionDelay` and `transitionDuration`. This way we avoid creating the function every time on `scrollEnd`.