Everton’s outside hopes for Champions League qualification improved after a 3-2 victory over Swansea edged them closer to the top four.