popup: popup size bigger than document fix