Improved board scaling, centering and flipping