added inview for social networks, misc bug fixes