Bifurcation and nonsmooth motion of a stick-slip hybrid oscillator