cleaned up some formatting. Change panel placement method for all panels to accept a target div