Fix bug in determining which span width to use
Disable AP item page navigation buttons when no page to navigate to