layout adjustments and optimisation.