hotfix from sidebar layout changes
Merge pull request #308 from dimagi/fix-no-app-500

hotfix from sidebar layout changes