init sidebar before images are loaded (if supported)