fix in case sliding elements are not wrapped in anchor tags