Changed the minimum number of visible items to be 3 for the previous, current, and next items. Fixes #365.