Make popup div scrollable and change its alignment