Sliding mode control for vision based leader following