Removed not needed declaration.
Modified menu slide method for ios devices to allow for better performance.