scroll working in both directions