fix scroll to bottom issue