capture file select events, make collapse/expand faster