modified library pagination styles