Overlay show/hide working with css3 in desktop