fixed some resizing issues for mobile