update active monitor detection for primary monitor on right
add RIGHT_PRIMARY configuration parameter