Added gravity to button menu

Sets a gravity for children of the floating action menu.
Children can gravitate to start, center or end of their corresponding x
or y position, depending on the expand direction