side bar animation work