Refactored heading actions and adjusted style sheet, refs #9421