Nationals dance their way from rock bottom to playoff race