added optional orientations key to initialization hash.
Gemified different orientation support.