Refactor sidebar background URL so it can be re-used