fixing popup hieght, adding qrcode's link to popup, no more history, clean code