fixing pagination design