added controller for gravity force