On-click

BeforeAfter
BeforeAfter

Mouseover

BeforeAfter

Drag

BeforeAfter

same design with click option

BeforeAfter