added rotate and flip effect