Fix connection lines overlapping and hiding issues (especially when used in conjunction with jQuery Mobile)

Achieved by less use of z-index