Added sidebar and gesture recognizer.