added buttons to slide