incorporated code from doge2048 for imgs on tiles