Added mobile compatibility to head