Students and teachers adjust to virtual learning