Add display auto detection