Made title display more dynamic