Added cocoapod specs and some smaller changes to get info when sidebars are opened/closed