Implemented functional pagination and week number picking.