Fixed bug in new code to handle popover width

Fixed bug in new code to handle popover width being explicitly set
Fixed bug in new code to handle popover width

Fixed bug in new code to handle popover width being explicitly set.
Used wrong html element attribute switching between height to width
Merge branch 'eespinoza-wip'