Would 'somehow the window opened' be 'nějak to okno otevřelo', out of interest?
Nějak se to okno otevřelo.
Thank you. For once I understand the use of 'se'!