resizing is no longer laggy and uses a 100ms timer