fix panel dimensions