why is my dog whining while lying down