more fixes to app resizing