Main Layout Adjustment