Fixed minor bug where selecting last element in navigator that is
partially hidden automatically scrolls it to the middle.