check if sidebar data is really available

Signed-off-by: Steffen Rühlmann <steffen@undpaul.de>