added orientationchange, resize events to BasicView so they get triggered properly, made Photogrid swipeview responsive and fixed its paging so it goes to the right page after resizing
photogrid responsiveness continued
on edit, simulate back click to avoid creating extra history item with same url, sortAscending fix, queue up a new sync operation if one fails