callback functions added for entering and leaving lightbox.
Block new observations now stops image sliding, when opening a lightbox
and continous after closing the lightbox