improved apple logic on board resize. Added leaderboard