add script to add bg to flex slider