panel now can be placed on top or bottom