added fade in functionlaity