updating the trim function
the study page will handle cycling through the words collection autonomously