Refactor global styling into local space
Hide pagination if there is only one page