codes for panel position are moved