subclass of UINavigationBar which can handle touch events on both edges.