Changed functionality of arrow scroll function.