The existence and dimension of the attractor for a 3D flow of a non-Newtonian fluid subject to dynamic boundary conditions