A swift version slide out menu by using NSNotification to control