adjust app layout