fixing to make  global and validating if location.name exists in lightbox handlebars template
fixing the position of the lightbox