getContainerStyle

Gets container style based on position and direction