Enable smooth option

Simply enable toggling smooth:true/false