cleaned up
detecting acceleration or right hand