Modifies barcode scanner frame size on orientation