more resize stuff
working resize on ios