prevent vertical bounce