Using attrs argument for smooth scroll directive