added orientation and direction public api methods
removed options.width from javascript code as this should be manipulated from css