Add orientation setting

This might be changed to allow for more than two layouts later.