Used to express 'without a particular intention', 'unconsciously', 'before one knows'.
Long explanation:
The 'Verbる ともなく Verb' grammar point is used to convey doing something without a specific intention or unconsciously. In other words, you find yourself doing something without meaning to or before you know it.