shorten pagination controls on narrow screens

![screen shot 2014-11-04 at 10 52 37](https://cloud.githubusercontent.com/assets/739624/4898470/d16fc2b0-6410-11e4-9348-03e8a2db6144.png)

Fixes #129.