fix #872

This patch relies on merge of koreader/koreader-base#223.

![screenshot from 2014-09-13 16 18 08](https://cloud.githubusercontent.com/assets/751535/4259976/056ab314-3b20-11e4-9b4f-f5edcc60be4c.png)