Adding window scroll event so it works on big screen when there is no scroll bar