adding speed for toggle()