created sidebar and animation of it