added arrangeDirection options that supported depth and breadth
arrangement.