better margin and height for popup