detect ground as y<=0 not just y<0