The narrow linear structure is called an anti-tail because it points toward the sun, opposite the usual direction of comet tails. In fact, this is an artifact of the viewing geometry. Gas and dust evaporating from the comet is not being sucked back toward the sun.
Amateur astronomers with mid-sized backyard telescopes can see the anti-tail for themselves. Comet Pan-Starrs is shining like a 9th magnitude star not far from Polaris, the North Star. More: NASA video, 3D orbit, ephemeris, light curves.