Don't position results if the input element or the results element are hidden

Helps prevent unnecessary positioning, as well as not break positioning of the results element when one or more live search input elements are hidden.