Clean up transition when resizing browser below 767px.