ImageSliceDisplay.py: implemented most functionalities