js slides now working with text in front