add width option

This PR add an option to fix an arbitrary width to the popin.