Collective dynamics of the p-Pb collisions at the LHC