Random Riddle: Back and Forth

I’m a pendulum that many children will see,
I become so when someone sits on me.
I rock back and forth with a gentle glide,
But I’m so thin you couldn’t use me to hide.

What am I?
 

Random Riddle: Back and Forth