added style with the shadows and transitions to the toggle class