Implement changing application window layout.