Update Pagination.php

Added Itemid param for getting modules.