Makes board maximum possible dimensions based on user's screen