Simplify JavaScript calls for getting post/PM header bounding rects.

Everything's a popover now.
Fix missing "show sidebar" button item on iPad after restoring from state.