//code for expanding menu