Fix display of page nav

Fixes the left/right jump of the page nav on safari, while retaining the other compatibility issues.