Adding a catch for the sidebar selector