got resize working and under control