moved onclick to flipper