add energy range for displayed XRF lines
fix bug in zoom mode layout