adds url validation to carousel links