hard fix for rotation at the right edge