Adding fadeIn fadeOut option. Fixed line that didn't work for me.