There's an article on CP :
Simple auto-hide panel
But it does not slide away. So you'd have to do that yourself. I guess one way to do this is to use a timer. The trick to make it smooth would be to do the entire slide-in/out in about 400-500 ms but in as small steps as you can achieve in that time.