Added the scorebox-toggling functionality