Crystal Palace arrest a run of five straight losses as they hold Swansea thanks to Scott Dann's fifth goal of the season.