implements jumping using a foot sensor