adding overlay for scanning qr-codes at right moment and added animation when scanning qrcode