Create mode switch and get animation working