Updated popover plugin for non position fixed elements