The moment I was out of sight of the crowd, I flopped onto the floor.
I flopped onto the floor when I was out of sight.