improve pagination and buttons style