Takens' last problem and existence of non-trivial wandering domains