How can is auto rotate to floor angle

That is exactly what I was looking for Thank You!!! One bad thing though the capsule jitters when I look right or look back down any idea’s