fix pan activation wrong way