Fixing pagination, adjusting style