Fixed overflow for popover directive.

@anatoo, I changed the structure of the popover component so I could add `overflow: hidden`, also I added `overflow: hidden` to all child elements as well to make it work for iOS.