keep state back and forth to settings view and impliment buggy infinite scroll