moved sideber intro #wrapper
onPopoverClose bugfix