                 self.content?.setOffset(self.frame.width, self.menuOffset + self.propaties.menuHeight)
                 self.menuOffset = -self.propaties.menuHeight
                 
-                UIView.animate(withDuration: TimeInterval(propaties.duration), animations: {
+                UIView.animate(withDuration: TimeInterval(propaties.duration), delay:0, options: [.curveEaseInOut], animations: {
                     
                     self.cover?.setUnchor(nextState != .fullContent ? self.menuOffset : self.propaties.fullCoveredOffset)
                     self.menu?.setOffset(-self.frame.width, self.propaties.menuOffsetOnFixedContentMode)

                self.menu?.setOffset(self.menuOffset)
                self.cover?.setUnchor(self.menuOffset)

                UIView.animate(withDuration: TimeInterval(propaties.duration), animations: {
                    self.frame.origin = CGPoint(x: 0, y: 0)
                    self.content?.setOffset( self.frame.width, self.propaties.fullCoveredOffset)
                }, completion: { finished in

                
                self.menuOffset = self.propaties.menuOffsetOnNocontentMode
                let tempState = self.state
                UIView.animate(withDuration: TimeInterval(propaties.duration), delay:0, options: [.curveEaseInOut], animations: {
                    self.cover?.setUnchor(nextState != .fullContent ? self.menuOffset : self.propaties.fullCoveredOffset)
                    self.menu?.setOffset(self.menuOffset)
                    self.content?.setOffset(self.frame.height)
