rebuild switch animation, add btn actions