Working on the functionality for setting up the board in either landscape or portrait mode