added dismissal delegate and velocity criteria