improved side bar animation