Improved navigation and pagination, scripts enqueue