Switched third-order sliding mode control