adding support for sprite swapping to <ImageButton />