patched Pratik's work on barcode position fixes, CRM-12967
Merge pull request #1156 from kurund/CRM-12967

patched Pratik's work on barcode position fixes, CRM-12967