fixed derpyness between switching panels