Pagination bar is resized based on window size.