resizing changes zoom, needs polishing