seperating pagination to paginationbar.php, made conditional to archive actually being paginated