This gate does the trick... and I replaces an identical one I had before that had been damaged due to everyday wear and tear.  It’s not for big screen dogs... my 16 lb terrier stays put when it’s up.