add display.get_active method