Added more options to gravity setting.