edited for silly window scroll