adjust layout scale