makes some layout changes