Added helper method to easily get opposite direction in integer format.