rotating function for image and text block