updated pagination styles and detail page styling