Portlet Image Switcher Bug Fix

Fixed a small bug in the image switcher.