Allow passing options to smoothscrolling.