shrink board to background size