Dock Orientation option

Making the Dock Orientation configurable through attributes instead of only left-oriented.