click animation logic fixed