Overview display 2

Fixed the display loops for panels and photos