allowscale=both gravity=right