fixed the board so it behaves as expected on different screen sizes - really need to clean up the code