update height on title element