adjusted right panel to fill the screen