Popup fix max size

*Scroll if too large
-constrain extension