Added CADisplayLink changes from kwarter/Kwarter-PaperFoldMenuController