adjust the scrollview and linear layouts properly