fixed popover bugs, add back-to-previous-page