fix scroll to end of doc