logging on
reorder functions
cancel resize after interval change