added slider for dynamic viewing.