added check for :visible on class based targeting
added class demos