fixed bug with page turn (potentially)