use css3 transition animation to toggle tool window