Modify sidebar animation