Added support for click/drag for turning pages.