removing redundant onsroll event