added support for multi monitor environments