fix page curl dismiss on iOS 6