added smooth scroll support