Add document 'change' listener and small scroll fix