fixed resizing jumping