Self-Trapping of Light Using the Pancharatnam-Berry Phase