sidebar and pagination css fix