changed format of initializeSidebar method for compatibility with
adjusted how lowResImageIds is populated
moved accessInstagram method to a service