fixed intro js to have smooth transitions