added demo code for slide menu