Program mask depends on physical position of panel