added ability to change panel background colour