fix layout for right control panel