Edited for dual monitor setting