updated to show one panel at a time