bugfix: rotation logic occurs when rotation value is 90 and now when it's -90