stop auto resizing when the layout is in phone mode