js updates

customized the flex slider, fixed smooth scroll