This is really a job for JavaScript, so I’ve moved this topic to that category. There will be scripts available to do that. Try some online searches such as “jQuery slide in menu”.
Here is an example that does what you want, although it “appears”, rather than slides into position. You might like to provide the slide. JSFiddle example