updated pagination and styling