adding and removing scroll event better