support centering of imgs
hall's theorem