added mobile detection and modifies the header strings to be smaller for the smaller screen