Rearrenging template grid for user profile