moved onclick to tile