updates for mobile, resizing