Attempts to fix JS scroll issue