Simple slider with its transitions controlled via CSS