Panel layout implementation