Imported fix from other github fork.

Imported changes from fabricemasachs/RESideMenu fork to fix iOS 8 bug
until the original has it.