an arc of lightning split the sky as they moved from the relative safety of the empty wagon , momentarily betraying their position to anyone who happened to be looking in their direction , followed closely by a boom of rolling thunder .