Unfortunatly (for you) the reff was right. You did come on top for a while, but did not secure the position for the 3 seconds. I know the action took 7 seconds, but you were not in control, you were "hanging in there". Understand what I mean? I agree with the reff call.
Your deep half swept was very good, what I would have try diferent would be to scape the hip to the left on second 24'' and try to put him to your right instead of taking him to the side you took, that would give you more control on his hip and for sure the top position.
I will post a video that will help your style of guard a lot!