Moved script call to head, fixed scroll eventlistener and lag