JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<section class="image-menu">
    <div>
        <ul id="image-menu-container" class="btn-group">
            <li class="btn">
                <div id="slider" style="width:444px;height:106px;"> <a href="#" class="control_next" style="color:#aaa;">></a>
 <a href="#" class="control_prev" style="color:#aaa;"><</a>

                    <ul>
                        <li>
                            <img src="#" alt="" width="444" height="106" border="0">
                        </li>
                        <li>
                            <img src="#" alt="" width="444" height="106" border="0">
                        </li>
                        <li>
                            <img src="#" alt="" width="444" height="106" border="0">
                        </li>
                    </ul>
                </div>
                <div><strong>Lorem Ipsum</strong>
                </div>
            </li>
            <li class="btn">
                <div id="profes" style="width:444px;height:106px;"> <a href="#" class="ctrl_next" style="color:#aaa;">></a>
 <a href="#" class="ctrl_prev" style="color:#aaa;"><</a>

                    <ul>
                        <li>
                            <img src="#" alt="" width="444" height="106" border="0">
                        </li>
                        <li>
                            <img src="#" alt="" width="444" height="106" border="0">
                        </li>
                    </ul>
                </div>
                <div><strong>Sin dolor</strong>
                </div>
            </li>
        </ul>
    </div>
</section>

CSS

.image-menu {
    width:1160px;
    text-align:center;
    margin:0 auto;
    position:relative;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
}
#slider {
    position: relative;
    overflow: hidden;
    margin: 3px auto 0 auto;
    border-radius: 4px;
}
#slider ul {
    position: relative;
    margin: 0;
    padding: 0;
    height: 200px;
    list-style: none;
}
#slider ul li {
    position: relative;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 444px;
    height: 106px;
    background: #ccc;
    text-align: center;
    line-height: 106px;
}
#profes {
    position: relative;
    overflow: hidden;
    margin: 3px auto 0 auto;
    border-radius: 4px;
}
#profes ul {
    position: relative;
    margin: 0;
    padding: 0;
    height: 200px;
    list-style: none;
}
#profes ul li {
    position: relative;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 444px;
    height: 106px;
    background: #ccc;
    text-align: center;
    line-height: 106px;
}
a.control_prev, a.control_next {
    position: absolute;
    top: 0%;
    z-index: 999;
    display: block;
    padding: 9% 2%;
    width: auto;
    height: auto;
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    opacity: 0.8;
    cursor: pointer;
}
a.control_prev:hover, a.control_next:hover {
    opacity: 1;
    -webkit-transition: all 0.2s ease;
}
a.control_prev {
    border-radius: 0 2px 2px 0;
}
a.control_next {
    right: 0;
    border-radius: 2px 0 0 2px;
}
a.ctrl_prev, a.ctrl_next {
    position: absolute;
    top: 0%;
    z-index: 999;
    display: block;
    padding: 9% 2%;
    width: auto;
    height: auto;
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    opacity: 0.8;
    cursor: pointer;
}
a.ctrl_prev:hover, a.ctrl_next:hover {
    opacity: 1;
    -webkit-transition: all 0.2s...

JavaScript

jQuery(document).ready(function ($) {

    var slideCount = $('#slider ul li').length;
    var slideWidth = $('#slider ul li').width();
    var slideHeight = $('#slider ul li').height();
    var sliderUlWidth = slideCount * slideWidth;

    $('#slider').css({
        width: slideWidth,
        height: slideHeight
    });

    $('#slider ul').css({
        width: sliderUlWidth,
        marginLeft: -slideWidth
    });

    $('#slider ul li:last-child').prependTo('#slider ul');

    function moveLeft() {
        $('#slider ul').animate({
            left: +slideWidth
        }, 200, function () {
            $('#slider ul li:last-child').prependTo('#slider ul');
            $('#slider ul').css('left', '');
        });
    };

    function moveRight() {
        $('#slider ul').animate({
            left: -slideWidth
        }, 200, function () {
            $('#slider ul li:first-child').appendTo('#slider ul');
            $('#slider ul').css('left', '');
        });
    };

    $('a.control_prev').click(function () {
        moveLeft();
    });

    $('a.control_next').click(function () {
        moveRight();
    });

});

jQuery(document).ready(function ($) {

    var slideCount = $('#profes ul li').length;
    var slideWidth = $('#profes ul li').width();
    var slideHeight = $('#profes ul li').height();
    var sliderUlWidth = slideCount * slideWidth;

    $('#profes').css({
        width: slideWidth,
        height: slideHeight
    });

    $('#profes ul').css({
        width: sliderUlWidth,
        marginLeft: -slideWidth
    });

    $('#profes ul li:last-child').prependTo('#profes ul');

    function moveLeft() {
        $('#profes ul').animate({
            left: +slideWidth
        }, 200, function () {
            $('#profes ul li:last-child').prependTo('#profes ul');
            $('#profes ul').css('left', '');
        });
    };

    function moveRight() {
        $('#profes ul').animate({
            left: -slideWidth
        }, 200, function () {
     ...