Fixed the board overflow problem and also fixed the orientation to
portrait-only