Dynamics of tectonic plates