gkanwar/ZephyrPlus — pull request #29 by luac (2012-11-02 23:14:25+00:00)
Title: Fix some issues with scrolling

A couple of issues came up when I tried using keyboard navigation for actual consumption rather than just toying around on my test server with a few messages.

Fixes:
Use binary search to improve performance
Scroll so that element is in middle of page rather than beginning (better symmetry/intuition match)
Use clientHeight instead of .height() to account for scrollbar height