Adjust the application layout