Removed panel logic