Added gravity to the new GUI