If you are trying to position a unit in the corner of the room or next a wall and it keeps flipping the wrong way then you need to hold down the 'Alt' key on your keyboard whilst you are moving the unit this will then stop the unit snapping and rotating so you can freely move the unit around.