Fixes problem with toolbar position when selection is at the top of the
screen