Adjusted inview event to sit with backbone