Added smooth scroll and title changes for tabs