refactor resizing in back office, resize chart in performance monitor