broke out borderedPanel from backgroundPanel so it can be used for other
purposes