re-instate scroll logic