add docment height when useCenterAlignment=YES