resized and positioned all elements for mobile.