Variable scroll speed

Updated scroll function to accept a delay argument.