Updated getting top/bottom of characters.
New logic for scrolling. Added Vertical scrolling.