custom modifications for android and ios to get slide menu working