rotation and flipping of icons fixing #127