Implemented menu resize