Added gravity behavior to the boxes