fixed bug messing up the minimize function
fixed bug messing up the minimize function

orenk86/ARSlidingPanel,orenk86/ARSlidingPanel,orenk86/ARSlidingPanel,andriirogulin/ARSlidingPanel,andriirogulin/ARSlidingPanel,andriirogulin/ARSlidingPanel