CSS instead of javascript

hide-and-slide is very smooth now