fixing popover layout
fixing toggles