How to set Y axis constraint on a SWRevealViewcontroller

Hi i want to set a Y axis constraint on a SWRevealViewController in Xcode. How do I specify it ? want it to follow a line on the top when its sliding in, and not like take up the hole view, want it maby -80 from the top of the superview

want the top to follow that gradient line in the main view:

enter image description here