boundaries for calculating title display