Fix bugs with popover
Adding commonly used CSS3 mixins