In case you have also wondered, the legs of dead spiders curl up because they use hydraulics instead of muscles to flex them. A chamber called the prosoma pumps fluid into each leg independently in order to move and flex the joints. So when the spider dies, the pressure releases and the legs curl in on themselves.