added event for page size changed