right menu working

right menu toggle and main expand on hide