use cookie to store pagesize settings
fix bug: current page should not be clickable