Popover will automatically move inside the window. Updated demo to
reflect this behaviour.