change sidebar and pagination style