change $.filter to look for :hidden instead of :visible