added the gravity to toast method and longToast method