lucaslucasWrote some logic to show the output menu on the left or right dependent on the available space.