WIP: moved resize to timer