indentation messed up again
.
uses velocity detection instead of position