added sliding menu AND sending 'app' by ref