styled pagination and worked on formating for desktop