add animation to hide/show title