added title attribute to header links for tiles
improved random class selector with credit to Ben L