Fix flickering popover animations

Closes #4138

- Removed JS animation to close in favour of CSS animations
I did try that, I really did.
My issue was; isOpen controls the open/closed classes, closing I'm not sure about, and the new one controls the fade in or out class.

I only add this because I thought initiating a var with the value if true is not good.