Revert "Previous/next buttons are only shown when javascript is enabled"

This reverts commit 11e7c3da00d7625c9e914f5da02f31b1a708c6cb.