added soft stop for top