added soft stop code

soft stop for lift