fix layout of top part of equation control panel