removed scrollTop as it was buggy