JSFiddle - React, Tailwind, and code Playground
HTML
<div class="sliderThumbnailElement cursorClass" id="samsungShine" style="margin-left:15px;">
<div style="overflow:hidden; width:304px; height:100px;">
<div style="position:absolute; z-index:99; overflow:hidden;"><img src="http://giobeta.com/giovatto/images/slider/sliderThumbs/shine.png" style="margin-left:-304px;" id="samsungShineImage" /></div>
<div style="position:absolute; z-index:98;"><img src="http://giobeta.com/giovatto/images/slider/sliderThumbs/samsungThumb.png" class="sliderThumbnail" target="1" /></div>
</div>
</div>
JavaScript
$('#samsungShine').mouseenter(function() {
$('#samsungShineImage').animate({"margin-left":"304px"}, 700);
}).mouseleave(function(){
$('#samsungShineImage').stop().css("margin-left", "-304px");
});