Check for :visible when using class based targeting

I've added a simple check to match the first visible element when using class based targeting. 

The use case I needed it for was a joyride on a responsive site where I wanted to tour navigation items that were visible/invisible at various breakpoints. 

Without this, it would match the first element with the class even though it may be hidden and look broken. 

Demo updated with demo.