add captain class to show view for the divs