change barcode dock logic to add better centering (untested)