updated so that there is no panel at the bottom