add total page control to postlist