added code to extend desktop display