Fixed transition delay before hiding, added transition delay before showing.