Changed hide function from targeting id to targeting class