corrected slide toggle error