Adjustments made to fix layout appearance at smaller sizes.