Refactored title moving to stop removing titleEl when it is not necessary