updated js, fixed smooth scroll and 'active' tab