resize the button for right menu