add possibility to rotate images